package com.zmzncs.common.common.pojo;

public enum InfoCode {

    SUCCESS(200,"成功"),
    FAIL(500,"失败"),

    NOT_MENBER(1001,"不是会员！"),

    NOT_EXIST(1002,"账号不存在或密码输入有误"),

    CAPTCHA_VERIFICATION_FAILED(1003,"图形验证码校验失败"),

    GOOGLE_VERIFICATION_FAILED(1004,"谷歌验证码校验失败"),

    PHONE_VERIFICATION_FAILED(1005,"手机验证码校验失败"),

    PARAMS_NOT_EXIST(2000,"参数缺失,请检查请求参数!"),

    FILE_NOT_EXIST(2001,"未找到图片,请检查图片信息!"),

    URL_NOT_EXIST(4001,"接口地址不存在"),

    SERVICE_UNAVAILABLE(5000,"系统内部错误"),

    INTERNAL_ERROR(6000,"系统内部错误"),

    ORDER_DETAIL_QUERY_EXECTION(7000,"查询订单详情异常"),

    ;



    private int status;

    private String msg;

    InfoCode(int status, String msg){
        this.status = status;
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public String getMsg() {
        return msg;
    }
}
